package com.swust.dao;

import com.swust.po.Student;

import java.util.List;

public interface StudentDao {
    /**
     *
     */
    Student findBySno(int sno);
    /**
     *
     */
    List<Student> findbySname(String sname);
    /**
     *
     */
    Student insetStudent(Student student);
    /**
     *
     */
    Student updateStudent(Student student);
    /**
     *
     */
    void deleteStudent(int sno);
}
